from Goldenberry.optimization.ga.GbInitPopMgr.InitPopGenerator import InitPopBiasedGenerator, InitPopRandomGenerator, InitPopSeededGenerator

class InitPopGeneratorFactory(object):
    """description of class"""
    def get_generator(self, type):
        if type == 'Seeded':
            return InitPopSeededGenerator()          
        elif type == 'Biased':
            return InitPopBiasedGenerator() 
        else:
            return InitPopRandomGenerator() 

